home *** CD-ROM | disk | FTP | other *** search
/ Mac Expert 1995 Winter / Mac Expert - Winter 95.iso / Les fichiers / Utilitaires divers / Cat & Compresseurs / StuffIt InstallerMaker™ ƒ / Users Guide & License Agreement / Gestalt Selectors Inside Mac IV next >
Encoding:
Text File  |  1994-03-16  |  16.8 KB  |  482 lines  |  [TEXT/R*ch]

  1. Gestalt Manager in Inside Macintosh IV
  2. ======================================
  3. Last modified  : 15 March 1994, 22:20 CET (GMT+1)
  4.  
  5. This document lists all selectors listed in the Gestalt Manager chapter
  6. in Inside Macintosh part IV.
  7. The entry format and other rules are exactly like the Supplemental
  8. Selector List (SGSL). Some selectors may be changed or additional information,
  9. which is listed in the SGSL.
  10.  
  11. Gestalt Selector Codes Installed by Apple System Software
  12. =========================================================
  13. addr (System [6.0.4])
  14.      gestaltAddressingModeAttr
  15.      Returns information about the current addressing mode.
  16.  
  17.      gestaltAddressingModeAttr = 'addr';
  18.      gestalt32BitAddressing    = 0; {started up with 32-bit addressing}
  19.      gestalt32BitSysZone       = 1; {system heap has 32-bit clean block}
  20.                                     {headers}
  21.      gestalt32BitCapable       = 2; {machine is 32-bit capable}
  22. alis (System [7.0])
  23.      gestaltAliasMgrAttr
  24.      Returns information about the Alias Manager.
  25.  
  26.      gestaltAliasMgrAttr    = 'alis'; {Alias Mgr attributes}
  27.      gestaltAliasMgrPresent = 0;
  28.  
  29.      NOTE: See the SGSL for additional information.
  30. atlk (System [6.0.4])
  31.      gestaltAppleTalkVersion
  32.      Returns the version of the .MPP driver as INTEGER.
  33.  
  34.      gestaltAppleTalkVersion = 'atlk'; {AppleTalk version}
  35.  
  36.      NOTE: See the SGSL for additional information.
  37. a/ux (System [6.0.4])
  38.      gestaltAUXVersion
  39.      Returns the version of A/UX if it is executing as BCD?
  40.  
  41.      gestaltAUXVersion = 'a/ux'; {A/UX version, if present}
  42. conn (System [7.0])
  43.      gestaltConnMgrAttr
  44.      Returns information about the Connection Manager.
  45.  
  46.      gestaltConnMgrAttr         = 'conn'; {Conn. Mgr attributes}
  47.      gestaltConnMgrPresent      = 0; {Connection Mgr is present}
  48.      gestaltConnMgrCMSearchFix  = 1; {fix for CMAddSearch present}
  49.  
  50.      NOTE: See the SGSL for additional information.
  51. crm  (System [7.0])
  52.      (Communications Toolbox for System 6)
  53.      gestaltCRMAttr (additions)
  54.      Returns information about the Communications Resource Manager.
  55.  
  56.      gestaltCRMAttr          = 'crm '; {Comm. Resource Mgr attributes}
  57.      gestaltCRMPresent       = 0; {Comm. Resource Mgr present}
  58.  
  59.      NOTE: See the SGSL for additional information.
  60. ctbv (System [7.0])
  61.      gestaltCTBVersion
  62.      Returns the version number of the Communications Toolbox.
  63.  
  64.      gestaltCTBVersion = 'ctbv'; {Comm. Toolbox version}
  65.  
  66.      NOTE: See the SGSL for additional information.
  67. dbac (System [7.0])
  68.      gestaltDBAccessMgrAttr
  69.      Returns information about the Data Access Manager.
  70.  
  71.      gestaltDBAccessMgrAttr = 'dbac'; {Data Access Mgr attributes}
  72. ditl (System [7.0])
  73.      gestaltDITLExtAttr
  74.      Returns information about the Dialog Manager.
  75.  
  76.      gestaltDITLExtAttr    = 'ditl'; {Dialog Mgr attributes}
  77. easy (Easy Access cp [7.0?])
  78.      gestaltEasyAccessAttr
  79.  
  80.      NOTE: Entry has been replaced, see SGSL.
  81. edtn (System [7.0])
  82.      gestaltEditionMgrAttr
  83.      Returns information about the Edition Manager.
  84.  
  85.      gestaltEditionMgrAttr    = 'edtn'; {Edition Mgr attributes}
  86.      gestaltEditionMgrPresent = 0;
  87.  
  88.      NOTE: See the SGSL for additional information.
  89. evnt (System [7.0])
  90.      gestaltAppleEventsAttr
  91.  
  92.      gestaltAppleEventsAttr     = 'evnt'; {Apple events attributes}
  93.      gestaltAppleEventsPresent  = 0; {True if Apple Events present}  *25
  94.  
  95.      NOTE: See the SGSL for additional information.
  96. fold (System [7.0])
  97.      gestaltFindFolderAttr
  98.      Returns information about the FindFolder function.
  99.  
  100.      gestaltFindFolderAttr    = 'fold'; {FindFolder attributes}
  101.      gestaltFindFolderPresent = 0; {FindFolder function available}
  102. font (System [7.0])
  103.      gestaltFontMgrAttr
  104.  
  105.      gestaltFontMgrAttr  = 'font'; {Font Mgr attributes}
  106.      gestaltOutlineFonts = 0;
  107.  
  108.      NOTE: See the SGSL for additional information.
  109. fpu  (System [6.0.4])
  110.      gestaltFPUType
  111.      Returns a value that indicates the FPU-type, if any.
  112.  
  113.      gestaltFPUType  = 'fpu '; {FPU Type}
  114.      gestaltNoFPU    = 0; {no FPU}
  115.      gestalt68881    = 1; {68881 FPU}
  116.      gestalt68882    = 2; {68882 FPU}
  117.  
  118.      NOTE: See the SGSL for additional information.
  119. fs   (System [7.0])
  120.      gestaltFSAttr
  121.      Returns information about the file system.
  122.  
  123.      gestaltFSAttr               = 'fs  '; {file-system attributes}
  124.      gestaltFullExtFSDispatching = 0; {routines _HFSDispatch available}
  125.      gestaltHasFSSpecCalls       = 1; {FSSpec functions available}
  126.  
  127.      NOTE: See the SGSL for additional information.
  128. fxfr (System [7.0])
  129.      gestaltFXfrMgrAttr
  130.      Returns information about the File Transfer Manager.
  131.  
  132.      gestaltFXfrMgrAttr    = 'fxfr'; {File Transfer Mgr attributes}
  133.      gestaltFXfrMgrPresent = 0; {File Transfer Mgr present}
  134.  
  135.      NOTE: See the SGSL for additional information.
  136. hdwr (System [6.0.4])
  137.      gestaltHardwareAttr
  138.      Returns information about the hardware configuration of the machine.
  139.      See for more information the TN "M.OV.GestaltSysenvirons" (OV 16).
  140.  
  141.      gestaltHardwareAttr    = 'hdwr'; {hardware attributes}
  142.      gestaltHasVIA1         =  0; {VIA 1}
  143.      gestaltHasVIA2         =  1; {VIA 2}
  144.      gestaltHasASC          =  3; {ASC}
  145.      gestaltHasSCC          =  4; {SCC}
  146.      gestaltHasSCSI         =  7; {SCSI}
  147.  
  148.      NOTE: See the SGSL for additional information.
  149. help (System [7.0])
  150.      gestaltHelpMgrAttr
  151.      Returns information about the Help Manager.
  152.  
  153.      gestaltHelpMgrAttr    = 'help'; {Help Mgr attributes}
  154.      gestaltHelpMgrPresent = 0; {Help Mgr present}
  155.  
  156.      NOTE: See the SGSL for additional information.
  157. kbd  (System [6.0.4])
  158.      gestaltKeyboardType
  159.      Returns a value that indicates the type of keyboard that is
  160.      currently attached to the system.
  161.  
  162.      gestaltKeyboardType      = 'kbd '; {keyboard type}
  163.      gestaltMacKbd            =  1; {Macintosh Keyboard}
  164.      gestaltMacAndPad         =  2; {Macintosh Keyboard with Pad}
  165.      gestaltMacPlusKbd        =  3; {Macintosh Plus Keyboard}
  166.      gestaltExtADBKbd         =  4; {Extended ADB Keyboard}
  167.      gestaltStdADBKbd         =  5; {Standard ADB Keyboard}
  168.      gestaltPrtblADBKbd       =  6; {Portable ADB Keyboard}
  169.      gestaltPrtblISOKbd       =  7; {Portable ISO ADB Keyboard}
  170.      gestaltStdISOADBKbd      =  8; {Standard ISO ADB Keyboard}
  171.      gestaltExtISOADBKbd      =  9; {Extended ISO ADB Keyboard}
  172.      gestaltADBKbdII          = 10; {ADB Keyboard II}
  173.      gestaltADBISOKbdII       = 11; {ISO ADB Keyboard II}
  174.  
  175.      NOTE: See the SGSL for additional information.
  176. lram (System [6.0.4])
  177.      gestaltLogicalRAMSize
  178.      Returns the amount of logical memory available in bytes.
  179.  
  180.      gestaltLogicalRAMSize = 'lram'; {logical RAM size}
  181.  
  182.      NOTE: See the SGSL for additional information.
  183. lmem (System [6.0.4])
  184.      gestaltLowMemorySize
  185.      Returns the amount of the low-memory area in bytes.
  186.  
  187.      gestaltLowMemorySize = 'lmem'; {low-memory area size}
  188. mach (System [6.0.4]) INF
  189.      gestaltMachineType
  190.      Returns one of the following values, indicating the type og
  191.      machine.
  192.      
  193.      gestaltMachineType        = 'mach'; {machine type}
  194.      gestaltClassic            =   1; {Macintosh 128K}
  195.      gestaltMacXL              =   2; {Macintosh XL}
  196.      gestaltMac512KE           =   3; {Macintosh 512KE}
  197.      gestaltMacPlus            =   4; {Macintosh Plus}
  198.      gestaltMacSE              =   5; {Macintosh SE}
  199.      gestaltMacII              =   6; {Macintosh II}
  200.      gestaltMacIIx             =   7; {Macintosh IIx}
  201.      gestaltMacIIcx            =   8; {Macintosh IIcx}
  202.      gestaltMacSE030           =   9; {Macintosh SE/30}
  203.      gestaltPortable           =  10; {Macintosh Portable}
  204.      gestaltMacIIci            =  11; {Macintosh IIci}
  205.      gestaltMacIIfx            =  12; {Macintosh IIfx}
  206.      gestaltMacClassic         =  13; {Macintosh Classic}
  207.      gestaltMacIIsi            =  14; {Macintosh IIsi}
  208.      gestaltMacLC              =  15; {Macintosh LC}
  209.  
  210.      NOTES:
  211.      You can use the returned value as an index with GetIndString
  212.      to get the machine's name. The STR# resource ID is:
  213.      kMachineNameStrID         = -16395;
  214.  
  215.      See the SGSL for additional information.
  216. micn (System [6.0.4]) INF
  217.      gestaltMachineIcon
  218.      Returns an icon family resource ID for the current type of
  219.      Macintosh.
  220.  
  221.      gestaltMachineIcon = 'micn'; {machine ICON/cicn res ID}
  222.  
  223.      NOTE: See the SGSL for additional information.
  224. misc (System [6.0.5])
  225.      gestaltMiscAttr
  226.      Returns information about miscellaneous pieces of software or
  227.      hardware.
  228.  
  229.      gestaltMiscAttr          = 'misc'; {miscellaneous attributes}
  230.      gestaltScrollingThrottle = 0;
  231.      gestaltSquareMenuBar     = 1;
  232.  
  233.      NOTE: See the SGSL for additional information.
  234. mmu  (System [6.0.4])
  235.      gestaltMMUType
  236.      Returns a value that indicates the type of MMU currently installed,
  237.      if any.
  238.  
  239.      gestaltMMUType  = 'mmu ';  {MMU Type}
  240.      gestaltNoMMU    = 0; {no MMU}
  241.      gestaltAMU      = 1; {AMU}
  242.      gestalt68851    = 2; {68851 MMU}
  243.      gestalt68030MMU = 3; {built-in 68030 MMU}
  244.  
  245.      NOTE: See the SGSL for additional information.
  246. nlup (System [7.0])
  247.      gestaltStdNBPAttr
  248.      Returns information about the call StandardNBP.
  249.  
  250.      gestaltStdNBPAttr    = 'nlup'; {Standard NBP attributes}
  251.      gestaltStdNBPPresent = 0;
  252. nmgr (System [6.0.5])
  253.      gestaltNotificationMgrAttr
  254.      Returns information about the Notification Manager.
  255.  
  256.      gestaltNotificationMgrAttr = 'nmgr'; {Notification Mgr attributes}
  257.      gestaltNotificationPresent = 0;
  258. os   (System [6.0.4, 7.0 and later])
  259.      gestaltOSAttr
  260.      Returns general information about the Operating System.
  261.  
  262.      gestaltOSAttr             = 'os  '; {O/S attributes}
  263.      gestaltSysZoneGrowable    = 0;
  264.      gestaltLaunchCanReturn    = 1;
  265.      gestaltLaunchFullFileSpec = 2;
  266.      gestaltLaunchControl      = 3;
  267.      gestaltTempMemSupport     = 4;
  268.      gestaltRealTempMemory     = 5;
  269.      gestaltTempMemTracked     = 6;
  270.      gestaltIPCSupport         = 7;
  271.      gestaltSysDebuggerSupport = 8;
  272.  
  273.      NOTES:
  274.      See the Process Manager chapter in IM Processes for more information
  275.      about the launch control features. And the Memory Manager chapter in
  276.      IM Memory about the memory features.
  277.  
  278.      See the SGSL for additional information.
  279. ostt (System [6.0.8?])
  280.      gestaltOSTable
  281.      Returns the base address of the Operating System trap table.
  282.  
  283.      gestaltOSTable = 'ostt'; {O/S trap table base}
  284. pgsz (System [6.0.4])
  285.      gestaltLogicalPageSize
  286.      Returns the logical page size in bytes.
  287.  
  288.      gestaltLogicalPageSize = 'pgsz'; {logical page size}
  289.  
  290.      NOTE:
  291.      The value is unknown on 68000 machines, Gestalt will return an error.
  292.  
  293.      NOTE: See the SGSL for additional information.
  294. pop! (System [7.0])
  295.      gestaltPopupAttr
  296.      Returns information about the pop-up control definition.
  297.      
  298.      gestaltPopupAttr    = 'pop!'; {pop-up CDEF attributes}
  299.      gestaltPopupPresent = 0; {pop-up CDEF available}
  300. powr (System [6.0.4])
  301.      gestaltPowerMgrAttr
  302.      Returns information about the Power Manager, if present.
  303.  
  304.      gestaltPowerMgrAttr = 'powr'; {Power Mgr attributes}
  305.      gestaltPMgrExists   = 0;
  306.      gestaltPMgrCPUIdle  = 1;
  307.      gestaltPMgrSCC      = 2;
  308.      gestaltPMgrSound    = 3;
  309. ppc  (System [7.0])
  310.      gestaltPPCToolboxAttr
  311.  
  312.      NOTE: Entry has been replaced, see SGSL.
  313. proc (System [6.0.4])
  314.      gestaltProcessorType
  315.      Returns a value that indicates the type of processor that is
  316.      currently running.
  317.  
  318.      gestaltProcessorType = 'proc'; {processor type}
  319.      gestalt68000         = 1; {MC68000}
  320.      gestalt68010         = 2; {MC68010}
  321.      gestalt68020         = 3; {MC68020}
  322.      gestalt68030         = 4; {MC68030}
  323.  
  324.      NOTE: See the SGSL for additional information.
  325. prty (System [6.0.4])
  326.      gestaltParityAttr
  327.      Returns information about the parity-checking abilities of the
  328.      machine.
  329.  
  330.      gestaltParityAttr          = 'prty'; {parity attributes}
  331.      gestaltHasParityCapability = 0;
  332.      gestaltParityEnabled       = 1;
  333. qd   (System [6.0.4])
  334.      gestaltQuickDrawVersion
  335.      Returns the version of QuickDraw currently present as a 2-byte value.
  336.  
  337.      gestaltQuickDrawVersion = 'qd  '; {QuickDraw version}
  338.      gestaltOriginalQD       = $000;
  339.      gestaltOriginalQD1      = $001;
  340.      gestalt8BitQD           = $100;
  341.      gestalt32BitQD          = $200;
  342.      gestalt32BitQD11        = $210;
  343.      gestalt32BitQD12        = $220;
  344.      gestalt32BitQD13        = $230;
  345.  
  346.      NOTE: See the SGSL for additional information.
  347. ram  (System [6.0.4])
  348.      gestaltPhysicalRAMSize
  349.      Returns the number of bytes of the physical RAM currently installed.
  350.  
  351.      gestaltPhysicalRAMSize = 'ram '; {physical RAM}
  352.  
  353.      NOTE: See the SGSL for additional information.
  354. rom  (System [6.0.4]) INF
  355.      gestaltROMSize
  356.      Returns the size of the installed ROM in bytes.
  357.  
  358.      gestaltROMSize = 'rom '; {ROM size}
  359. romv (System [6.0.4]) INF
  360.      gestaltROMVersion
  361.      Returns the version number of the installed ROM.
  362.  
  363.      gestaltROMVersion = romv'; {ROM version}
  364. rsrc (System [should work since 7.0?])
  365.      gestaltResourceMgrAttr
  366.      Returns information about the Resource Manager.
  367.  
  368.      gestaltResourceMgrAttr = 'rsrc'; {Resource Mgr attributes}
  369.      gestaltPartialRsrcs    = 0;
  370.  
  371.      NOTE: See the SGSL for additional information.
  372. scri (System [6.0.4])
  373.      gestaltScriptMgrVersion
  374.      Returns the version number of the Script Manager as BCD.
  375.  
  376.      gestaltScriptMgrVersion = 'scri'; {Script Mgr version}
  377.  
  378.      NOTE: See the SGSL for additional information.
  379. scr# (System [6.0.4])
  380.      gestaltScriptCount
  381.      Returns the number of script systems currently active.
  382.  
  383.      gestaltScriptCount = 'scr#'; {number of active scripts}
  384. ser  (System [6.0.8?])
  385.      gestaltSerialAttr
  386.      Returns information about the serial hardware of the machine.
  387.  
  388.      gestaltSerialAttr  = 'ser '; {serial hardware attributes}
  389.      gestaltGPIaToDCDa  = 0;
  390.      gestaltGPIaToRTxCa = 1;
  391.      gestaltGPIaToDCDb  = 2;
  392. sltc (System [6.0.8?])
  393.      gestaltNuBusConnectors
  394.      Returns information about the NuBus slot connector locations. The
  395.      value returned is a bitmap. If bits 9 to E are set, there are six
  396.      slots present with locations 9 to E.
  397.  
  398.      gestaltNuBusConnectors = 'sltc'; {NuBus connector bitmap}
  399.  
  400.      NOTE: See the SGSL for additional information.
  401. snd  (System [6.0.4])
  402.      gestaltSoundAttr
  403.      Returns information about the sound capabilities of the machine.
  404.  
  405.      gestaltSoundAttr           = 'snd '; {sound attributes}
  406.      gestaltStereoCapability    = 0; {can play stereo sounds}
  407.      gestaltStereoMixing        = 1; {mixes channels into single signal}
  408.      gestaltSoundIOMgrPresent   = 2; {new sound input routines available}
  409.      gestaltBuiltInSoundInput   = 3; {buil-in sound input device available}
  410.      gestaltHasSoundInputDevice = 4; {some sound input device available}
  411.  
  412.      NOTE: See the SGSL for additional information.
  413. stdf (System [7.0])
  414.      gestaltStandardFileAttr
  415.      Returns information about the Standard File Package.
  416.  
  417.      gestaltStandardFileAttr = 'stdf'; {Standard File attributes}
  418.      gestaltStandardFile58   = 0; {StandardPutFile, StandardGetFile.}
  419.                                   {CustomPutFile and CustomGetFile are}
  420.                                   {available.}
  421.  
  422.      NOTE: See the SGSL for additional information.
  423. sysv (System [6.0.4]) INF
  424.      gestaltSystemVersion
  425.      Returns the version number of the currently active System file as BCD.
  426.  
  427.      gestaltSystemVersion = 'sysv'; {System file version}
  428.  
  429.      NOTE: See the SGSL for additional information.
  430. te   (System [6.0.5])
  431.      gestaltTextEditVersion
  432.      Returns a value that indicates which version of TextEdit is present.
  433.  
  434.      gestaltTextEditVersion = 'te  '; {TextEdit version}
  435.      gestaltTE1             = 1;
  436.      gestaltTE2             = 2;
  437.      gestaltTE3             = 3;
  438.      gestaltTE4             = 4;
  439.      gestaltTE5             = 5;
  440.  
  441.      NOTE: See the SGSL for additional information.
  442. term (System [7.1])
  443.      gestaltTermMgrAttr
  444.      Returns information about the Terminal Manager.
  445.  
  446.      gestaltTermMgrAttr    = 'term'; {Terminal Mgr attributes}
  447.      gestaltTermMgrPresent = 0; {Terminal Mgr is present}
  448.  
  449.      NOTE: See the SGSL for additional information.
  450. tmgr (System [6.0.4])
  451.      gestaltTimeMgrVersion
  452.      Returns a value that indicates the version of the Time Manager.
  453.  
  454.      gestaltTimeMgrVersion  = 'tmgr'; {Time Mgr version}
  455.      gestaltStandardTimeMgr = 1;
  456.      gestaltRevisedTimeMgr  = 2;
  457.      gestaltExtendedTimeMgr = 3;
  458. tbtt (System [6.0.8])
  459.      gestaltToolboxTable
  460.      Returns the base address of the Toolbox trap table.
  461.  
  462.      gestaltToolboxTable = 'tbtt'; {Toolbox trap table base}
  463. vers (System [6.0.4])
  464.      gestaltVersion
  465.      Returns the version of Gestalt as INTEGER.
  466.  
  467.      gestaltVersion = 'vers'; {Gestalt version}
  468.  
  469.      NOTE: See the SGSL for additional information.
  470. vm   (System [6.0.4])
  471.      gestaltVMAttr
  472.      Returns information about virtual memory.
  473.  
  474.      gestaltVMAttr = 'vm  '; {virtual memory attributes}
  475.  
  476.      NOTE: Entry has been replaced, see SGSL.
  477. xttt (System [6.0.8?])
  478.      gestaltExtToolboxTable
  479.      Returns the base address of the extended Toolbox trap table.
  480.  
  481.      gestaltExtToolboxTable = 'xttt'; {Ext. Toolbox trap table base}
  482.